package cn.minimelon.solon.controller.warehouse;

import cn.minimelon.solon.service.warehouse.DeptBuyService;
import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.*;

import java.util.List;

@Slf4j
@Controller
@Mapping("/deptBuy")
public class DeptBuyController {
    @Inject
    private DeptBuyService deptBuyService;

    @Post
    @Mapping("/finish/gen/{logicId}")
    public List<String> selectFinishGen(@Param("logicId") String logicId) {
        return deptBuyService.selectFinishGenBillList(logicId);
    }
}
